<?php

use think\facade\Log;

    function jcgoplog($act='开锁', $action_name = '', $nickname = "", $user_id = 0, $order_id= 0, $box_id = 0){
        Log::write([
            'act' => $act,
            'action_name' => $action_name,
            'nickname' => $nickname,
            'user_id' => $user_id,
            'order_id' => $order_id,
            'box_id' => $box_id,
            'time' => time()
        ]);
    }
?>